package com.tronsis.distribution.biz;

import android.app.Activity;

import com.tronsis.library.http.UICallBack;


public interface TeamBiz {
    /**
     * 列出我的课程
     *
     * @param activity
     * @param page
     * @param size
     * @param callBack
     * @throws Exception
     */
    void listMyCourse(Activity activity, int page, int size,String search, UICallBack callBack) throws Exception;

    /**
     * @param activity
     * @param myCourseId
     * @param callBack
     * @throws Exception
     */
    void deleteMyCourse(Activity activity, String myCourseId, UICallBack callBack) throws Exception;

    /**
     * @param activity
     * @param page
     * @param size
     * @param callBack
     * @throws Exception
     */
    void listMyTrainer(Activity activity, int page, int size, UICallBack callBack) throws Exception;

    /**
     * 课程详情
     *
     * @param activity
     * @param courseId
     * @param callBack
     * @throws Exception
     */
    void getCourseDetail(Activity activity, String courseId, UICallBack callBack) throws Exception;

    /**
     * [培训团队] 列出团队成员
     *
     * @param activity
     * @param page
     * @param size
     * @param callBack
     * @throws Exception
     */
    void listTeamTrainer(Activity activity, int page, int size, UICallBack callBack) throws Exception;


    /**
     * [培训团队] 列出团队代理
     *
     * @param activity
     * @param level    用户等级[B(), C(), D(), E()]
     * @param role     用户角色[AGENT(代理), UO_AGENT(准代理)]
     * @param page
     * @param size
     * @param callBack
     * @throws Exception
     */
    void listTeamAgent(Activity activity, String level, String role, int page, int size, UICallBack callBack) throws Exception;


    /**
     * [培训团队] 列出团队课件
     * @param activity
     * @param onlyMime
     * @param page
     * @param size
     * @param callBack
     * @throws Exception
     */
    void listTeamCourse(Activity activity, boolean onlyMime, int page, int size, UICallBack callBack) throws Exception;

    /**
     * @param activity
     * @param name
     * @param description
     * @param imageFid
     * @param videoFid
     * @param callBack
     * @throws Exception
     */
    void uploadCourse(Activity activity, String  name,String description, String imageFid,  String videoFid, UICallBack callBack) throws Exception;

    /**
     * @param activity
     * @param courseId
     * @param name
     * @param description
     * @param imageFid
     * @param videoFid
     * @param callBack
     * @throws Exception
     */
    void editCourse(Activity activity, String courseId,String  name,String description, String imageFid,  String videoFid, UICallBack callBack) throws Exception;

    /**
     * @param activity
     * @param courseId
     * @param callBack
     * @throws Exception
     */
    void deleteCourse(Activity activity, String courseId,UICallBack callBack) throws Exception;

    /**
     * [培训团队] 推送我的课件
     * @param activity
     * @param courseId
     * @param callBack
     * @throws Exception
     */
    void pushMyCourse(Activity activity,String courseId,UICallBack callBack) throws Exception;

    /**
     * [培训团队] 推送消息
     * @param activity
     * @param content
     * @param level
     * @param role
     * @throws Exception
     */
    void pushNotice(Activity activity ,String content,String level,String role,UICallBack callBack) throws Exception;

}
